package com.itmuch.contentcenter.feignclient;

import com.itmuch.contentcenter.domain.dto.user.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author caiqian
 * @date 2021/5/8 9:27
 */
@FeignClient(name = "user-center")
public interface TestUserCenterFeignClient {

  @GetMapping("/q")
  UserDto query(@SpringQueryMap UserDto userDto);

}
